<!DOCTYPE html>
<html>
<head>
  <title>propsData option</title>
  <script type="text/javascript" src="../js/vue.js"></script>
</head>
<body>
  <header></header>
  <script type="text/javascript">
    var header_a = Vue.extend({
      template:`<p>{{message}}-{{a}}</p>`,
      data:function(){
        return{
          message: "Hello,I am header"
        }
      },
      props:["a"],
    });
    new header_a({propsData:{a:1}}).$mount("header");
  </script>
</body>
</html>